package com.librelato.negocio;

import java.util.List;
import java.util.Map;

import com.librelato.bean.BemAtivoBean;
import com.librelato.bean.SolicitacaoManutencaoBean;
import com.librelato.bean.TipoServicoManutencaoBean;
import com.librelato.negocio.interfaces.ISolicitacaoManutencaoServico;
import com.librelato.persistencia.SolicitacaoManutencaoDao;
import com.librelato.persistencia.interfaces.IDaoGenerico;
import com.librelato.persistencia.interfaces.ISolicitacaoManutencaoDao;

public class SolicitacaoManutencaoServico<P extends SolicitacaoManutencaoBean>
		extends ServicoGenerico<P> implements ISolicitacaoManutencaoServico<P> {

	private ISolicitacaoManutencaoDao<P> dao;

	public SolicitacaoManutencaoServico() {
		this.dao = new SolicitacaoManutencaoDao<P>();
	}

	@Override
	public void excluir(P p) throws Exception {
		// TODO Auto-generated method stub

	}

	@Override
	public P salvar(P p) throws Exception {
		// TODO Auto-generated method stub
		return this.dao.salvar(p);
	}

	@Override
	public void editar(P p) throws Exception {
		// TODO Auto-generated method stub

	}

	@Override
	public IDaoGenerico<P> getDao() {
		// TODO Auto-generated method stub
		return this.dao;
	}

	@Override
	public void preSalvar(P p) {
		// TODO Auto-generated method stub

	}

	@Override
	public void posSalvar(P p) {
		// TODO Auto-generated method stub

	}
	
	@Override
	public List<BemAtivoBean> buscaBemAtivos(Map<String, String> param)
			throws Exception {
		// TODO Auto-generated method stub
		return this.dao.buscaBemAtivos(param);
	}
	
	@Override
	public List<TipoServicoManutencaoBean> buscaTiposServico(
			Map<String, String> param) throws Exception {
		return this.dao.buscaTiposServico(param);
	}

}
